<div class="table-bar">
	<ul class="nav nav-tabs">
	  <li><a href="/search/form.html">表单检索</a></li>
	  <li><a href="/search/senior.html">高级检索</a></li>
	  <!--<li><a href="/searcg/similar.html">相似技术检索</a></li>-->
	  <li><a href="/search/legal.html">法律检索</a></li>
	  <!--<li><a href="/search/lead.html">检索说明</a></li>-->
	</ul>
</div>	
  <script>
  	$('div.table-bar>ul>li>a').each(function(){
  		if($(this).attr('href')==window.document.location.pathname){
  			$(this).parent('li').addClass('active');
  		}
  	});
  </script>